package top.scauwlt.annotation;

import org.springframework.context.annotation.Import;
import top.scauwlt.spring.CustomScannerRegistrar;

import java.lang.annotation.*;

/**
 * 注解扫描包
 *
 * @Author wmm
 * @Date 2022/7/27 16:01
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD})
@Import(CustomScannerRegistrar.class)
public @interface RpcScan {

    /**
     * 扫描包路径
     */
    String[] basePackage();
}
